// 从backtop公共组件中引入Backtop类
import Backtop from 'components/backtop';
const el=document.getElementById('backtop');
const critical_point=document.documentElement.clientHeight;
const scrollContainer=document.getElementById('destination-content');
// 创建Backtop类
new Backtop(el,critical_point,scrollContainer);
